﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using SuperSocket.SocketBase;

namespace TestApp.sockets
{
	public class EchoSession : AppSession<EchoSession>
	{
		public override void StartSession()
		{
			base.StartSession();
			SendResponse("Welcome to EchoServer");
		}

		public override void HandleExceptionalError(Exception e)
		{
			base.HandleExceptionalError(e);
			SendResponse("Server side error occurred");
		}
	}
}